package com.demo1;

/**
 * Created by Administrator on 2017/3/25.
 */
public class FuDian {
    public static void main(String[] args) {
        float f = 1.23f;
        double d1 = 1.23;
        double d2 = 1.23D;
        System.out.println("单精度浮点类型数值等于" + f);
        System.out.println("双精度浮点类型数值等于" + d1);
        System.out.println("双精度浮点类型数值等于" + d2);

    }
}
